﻿

using IotContract.Dtos.Servers.Process;
using IotContract.Dtos.Servers.Pushs;
using IotContract.Models.Clients.Hks;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HbcServerProcess.Interfaces;
/// <summary>
/// 设备验证服务
/// </summary>
public interface IEquipValidateService
{
    /// <summary>
    /// 验证物流线站台
    /// </summary>
    /// <param name="cv"></param>
    /// <returns></returns>
    bool ValidateCV(CvUnitTagDto cv);
    /// <summary>
    /// 验证堆垛机
    /// </summary>
    /// <param name="sc"></param>
    /// <returns></returns>
    bool ValidateStacker(ScUnitDto sc);

    /// <summary>
    /// 验证库位是否存在
    /// </summary>
    /// <param name="data"></param>
    /// <returns></returns>
    /// <exception cref="NotImplementedException"></exception>
    bool ValidateWrite(HkWriteInstruct data, PushHkOcvFmtDto group, PushHkOcvFmtDto group2 = null);
}
